package com.iengine.services.api.command.chat;

import java.util.Date;
import java.util.Map;

import com.iengine.services.api.utils.DateUtils;

@SuppressWarnings({"unchecked","rawtypes"})
public class CommandTime extends AbstractTxtPhoneApiCommand{

	    @Override
	    protected Map formatArgs(Map map, Map nlpParams) {
	        String time =DateUtils.convert(new Date(), DateUtils.TIME_FORMAT);
	        time = time.substring(0, 2) + "点" + time.substring(3, 5) + "分";
	        map = addValue(map, isDirectReturn(), time);
	        return map;
	    }

}
